package cn.apthink.mybatisplus.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 
 * </p>
 *
 * @author David唐
 * @since 2024-08-31
 */
@Getter
@Setter
@ToString
@TableName("Department")
@ApiModel(value = "DepartmentEntity对象", description = "")
public class DepartmentEntity {

    @ApiModelProperty(value="字段id", name="id")
    @TableId("id")
    private String id;

    @ApiModelProperty(value="字段pid", name="pid")
    @TableField("pid")
    private String pid;

    @ApiModelProperty(value="字段departmentcode", name="departmentcode")
    @TableField("departmentcode")
    private String departmentcode;

    @ApiModelProperty(value="字段departmentname", name="departmentname")
    @TableField("departmentname")
    private String departmentname;

    @ApiModelProperty(value="字段imageurl", name="imageurl")
    @TableField("imageurl")
    private String imageurl;

    @ApiModelProperty(value="字段departmenttype", name="departmenttype")
    @TableField("departmenttype")
    private Integer departmenttype;

    @ApiModelProperty(value="字段scheduletype", name="scheduletype")
    @TableField("scheduletype")
    private Integer scheduletype;

    @ApiModelProperty(value="字段efficiency", name="efficiency")
    @TableField("efficiency")
    private Double efficiency;

    @ApiModelProperty(value="字段workernumber", name="workernumber")
    @TableField("workernumber")
    private Integer workernumber;

    @ApiModelProperty(value="字段contactor", name="contactor")
    @TableField("contactor")
    private String contactor;

    @ApiModelProperty(value="字段phone", name="phone")
    @TableField("phone")
    private String phone;

    @ApiModelProperty(value="字段address", name="address")
    @TableField("address")
    private String address;

    @ApiModelProperty(value="字段location", name="location")
    @TableField("location")
    private String location;

    @ApiModelProperty(value="字段description", name="description")
    @TableField("description")
    private String description;

    @ApiModelProperty(value="字段createtime", name="createtime")
      @TableField(value = "createtime", fill = FieldFill.INSERT)
    private String createtime;

    @ApiModelProperty(value="字段updatetime", name="updatetime")
      @TableField(value = "updatetime", fill = FieldFill.UPDATE)
    private String updatetime;
}
